package com.chis.childcheck;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author niwt
 * @version 2019/7/19
 * @Description 定时补偿
 * @Company zwx
 */
public class TimerMain {

    public static void main(String[] args) throws Exception {
        // 初始化
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[] { "spring_timer.xml" });
        context.start();
        System.out.println("JmDataSpark服务已启动");
        while (true) {
            Thread.sleep(10);
        }

    }
}
